<template>
  <div id="footer">
    <van-tabbar
      v-model="active"
      active-color="#2fb67c"
      inactive-color="#000"
      route
    >
      <van-tabbar-item icon="wap-home-o" to="/Home" active-class="footer"
        >首页</van-tabbar-item
      >
      <van-tabbar-item icon="comment-o" active-class="footer"
        >消息</van-tabbar-item
      >
      <van-tabbar-item icon="browsing-history-o" active-class="footer"
        >有料</van-tabbar-item
      >
      <van-tabbar-item icon="diamond-o">推荐</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/index" active-class="footer"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script scoped>
export default {
  name: "Footer",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>

</style>
